package com.demo.jpa;

import com.demo.jpa.util.ZoneStartHelper;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

import java.net.UnknownHostException;

/**
 * @Author:liaoyoule
 * @Description
 * @Date: Created in 13:55 2018/7/20
 * @Modifyied By:
 */
@SpringBootApplication
@ComponentScan(basePackages="com.demo.jpa")
public class JpaStarter {
    public static void main(String[] args) throws UnknownHostException {
        ZoneStartHelper
                .builder()
                .args(args)
                .sources(JpaStarter.class)
                .build()
                .start();
    }
}
